/**
 * Copyright 2016-2018 mobaas.com
 */
package com.mobaas.devops.service;

import java.util.Date;
import java.util.List;

import com.mobaas.devops.PageList;
import com.mobaas.devops.model.WebUrl;
import com.mobaas.devops.model.WebUrlLog;

/**
 * 
 * @author billy zhang
 * 
 */
public interface WebUrlService {

	List<WebUrl> selectWebUrlList(int state);
	
	int updateWebUrl(WebUrl url);
	
	PageList<WebUrlLog> selectWebUrlLogList(int urlId, int pageNum, int pageSize);
	
	void insertWebUrlLog(WebUrlLog log);

	int clearWebUrlLogs(Date beforeDate);

}
